<!doctype html>
<html>
<head>
	<meta charset="UTF-8">
	<title>首页</title>
	<meta name="viewport" content="initial-scale=1.0, width=device-width,minimum-scale=1.0,maximum-scale=1.0, user-scalable=no" />
	<link rel="stylesheet" href="/css/style.css">
	<script src="/js/zepto.js"></script>
	<script src="/js/common.js"></script>
	<script>
		$.config = {router: false}
	</script>
	<script src="/js/sm.js"></script>
	<script src="/js/angular.min.js"></script>
	<script src="/js/angular-route.js"></script>
</head>
<body>
	 <!-- ng-controller="public as my" -->
	<div class="wrap" ng-app="myApp" ng-controller="app">
		<div class="page-group">
	        <!-- 单个page ,第一个.page默认被展示-->
	        <div class="page">
	            <!-- 标题栏 -->
	            <header class="bar bar-nav" ng-include="'header.html'"></header>

	            <!-- 工具栏 -->
	            <nav class="bar bar-tab" ng-include="'nav.html'"></nav>

	            <!-- 这里是页面内容区 -->
	            <div class="content" ng-view="">
	                <!-- <div class="content-block">这里是content</div> -->
	            </div>
	        </div>
		    <!-- popup, panel 等放在这里 -->
		    <div class="panel-overlay"></div>
	    </div>

	    <!-- Left Panel with Reveal effect -->
	    <div class="panel panel-left panel-reveal">
	        <div class="content-block">
	        	<div class="center-block bg-warning img-circle pic-box">
	        		<img src="" class="img-responsive img-circle" ng-show="user.name">

	        		<a href="/#/signin" class="img-rounded close-panel" ng-show="!user.name">登录/注册</a>
	        	</div>
				<p class="text-center">{{user.name ? user.name : "神秘游客"}}</p>				

				<p><a href="/#/home" class="close-panel">个人中心</a></p>
	            <p>这是一个侧栏</p>
	            <p></p>
	            <!-- Click on link with "close-panel" class will close panel -->
	            <p><a class="close-panel">关闭</a></p>
	        </div>
	    </div>
	</div>
	<script src="/controllers/mian.min.js"></script>
</body>
</html>
